package com.sskj.miner.bean;

import com.sskj.common.util.LanguageUtil;
import com.sskj.miner.R;

import java.util.List;

public class PaoBean {


    private USDTBean USDT;
    private BIBBean BIB;
    private List<LargePaoBean> largePao;

    public USDTBean getUSDT() {
        return USDT;
    }

    public void setUSDT(USDTBean USDT) {
        this.USDT = USDT;
    }

    public BIBBean getBIB() {
        return BIB;
    }

    public void setBIB(BIBBean BIB) {
        this.BIB = BIB;
    }

    public List<LargePaoBean> getLargePao() {
        return largePao;
    }

    public void setLargePao(List<LargePaoBean> largePao) {
        this.largePao = largePao;
    }

    public static class USDTBean {
        /**
         * id : 199
         * code : USDT
         * num : 13
         * everyValue : 10
         */

        private String id;
        private String code;
        private int num;
        private String everyValue;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public int getNum() {
            return num;
        }

        public void setNum(int num) {
            this.num = num;
        }

        public String getEveryValue() {
            return everyValue;
        }

        public void setEveryValue(String everyValue) {
            this.everyValue = everyValue;
        }
    }

    public static class BIBBean {
        /**
         * id : 199
         * code : BIB
         * num : 13
         * everyValue : 10
         */

        private String id;
        private String code;
        private int num;
        private String everyValue;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public int getNum() {
            return num;
        }

        public void setNum(int num) {
            this.num = num;
        }

        public String getEveryValue() {
            return everyValue;
        }

        public void setEveryValue(String everyValue) {
            this.everyValue = everyValue;
        }
    }

    public static class LargePaoBean implements IWaterBean {


        private String id;
        private String value;
        private String stockUserId;
        private String taskIntro;
        private String taskIntroUs;
        private int taskComplete;
        private String type;
        private long createTime;
        private Object timestamp;

        public String getTaskIntroUs() {
            return taskIntroUs;
        }

        public void setTaskIntroUs(String taskIntroUs) {
            this.taskIntroUs = taskIntroUs;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }

        public String getStockUserId() {
            return stockUserId;
        }

        public void setStockUserId(String stockUserId) {
            this.stockUserId = stockUserId;
        }

        public String getTaskIntro() {
            return LanguageUtil.isSimpleChinese()?taskIntro:taskIntroUs;
        }

        public void setTaskIntro(String taskIntro) {
            this.taskIntro = taskIntro;
        }

        public int getTaskComplete() {
            return taskComplete;
        }

        public void setTaskComplete(int taskComplete) {
            this.taskComplete = taskComplete;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public long getCreateTime() {
            return createTime;
        }

        public void setCreateTime(long createTime) {
            this.createTime = createTime;
        }

        public Object getTimestamp() {
            return timestamp;
        }

        public void setTimestamp(Object timestamp) {
            this.timestamp = timestamp;
        }

        @Override
        public String getNum() {
            return value;
        }

        @Override
        public int getRes() {
            return R.mipmap.miner_icon_usdt_big;
        }
    }
}
